package com.syzg.base.merge.model;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * Module entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Module implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private String id;
	private Module parentModule;
	private String code;
	private String name;
	private String href;
	private String target;
	private Short status;
	private String description;
	private Short moduleLevel;
	private String moduleType;
	private Short leafFlag;
	private Integer orderNo;
	private List<Module> modules;
	private List<Operation> operations;

	private String iconStyle;
	// Constructors

	/** default constructor */
	public Module() {
	}

	/** full constructor */
	public Module(Module parentModule, String code, String name, String href,
			String target, Short status, String description, Short moduleLevel,
			String moduleType, Short leafFlag, Integer orderNo, Set modules,
			Set operations,String iconStyle) {
		this.parentModule = parentModule;
		this.code = code;
		this.name = name;
		this.href = href;
		this.target = target;
		this.status = status;
		this.description = description;
		this.moduleLevel = moduleLevel;
		this.moduleType = moduleType;
		this.leafFlag = leafFlag;
		this.orderNo = orderNo;
		this.iconStyle = iconStyle;
	}

	// Property accessors

	public Module getParentModule() {
		return this.parentModule;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getIconStyle() {
		return iconStyle;
	}

	public void setIconStyle(String iconStyle) {
		this.iconStyle = iconStyle;
	}

	public void setParentModule(Module parentModule) {
		this.parentModule = parentModule;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHref() {
		return this.href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public String getTarget() {
		return this.target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public Short getStatus() {
		return this.status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Short getModuleLevel() {
		return this.moduleLevel;
	}

	public void setModuleLevel(Short moduleLevel) {
		this.moduleLevel = moduleLevel;
	}

	public String getModuleType() {
		return this.moduleType;
	}

	public void setModuleType(String moduleType) {
		this.moduleType = moduleType;
	}

	public Short getLeafFlag() {
		return this.leafFlag;
	}

	public void setLeafFlag(Short leafFlag) {
		this.leafFlag = leafFlag;
	}

	public Integer getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(Integer orderNo) {
		this.orderNo = orderNo;
	}

	public List<Module> getModules() {
		return modules;
	}

	public void setModules(List<Module> modules) {
		this.modules = modules;
	}

	public List<Operation> getOperations() {
		return operations;
	}

	public void setOperations(List<Operation> operations) {
		this.operations = operations;
	}
}